package com.zjj.day3.employeeTest1;

/**
 * @author zhoujunjie
 * @desc TODO
 * @date 2025/4/21
 */
class EmployeeUtil {
    public static void raise(Employee e) {
        double currentSalary = e.getSalary();
        if (currentSalary > 10000) {
            e.setSalary(currentSalary * 1.2);
        } else {
            e.setSalary(currentSalary * 1.1);
        }
    }
}